#ifndef __INCLUDE_KUTIL_H__
#define __INCLUDE_KUTIL_H__
/*
	kutil.h - declarations of the k*() utility functions

	Part of the as-yet-unnamed MC68010 operating system

	(c) Stuart Wallace <stuartw@atom.net>, 2012-07
*/

#include "include/types.h"


void kbzero(void *s, u32 n);
void *kmemcpy(void *dest, const void *src, ku32 n);
void kprintf(ks8 *format, ...);
s32 kputchar(s32 c);
void kput(ks8 *s);
void kputs(ks8 *s);
s8 *kstrcat(s8 *dest, ks8 *src);
s32 kstrcmp(ks8 *s1, ks8 *s2);
s8 *kstrcpy(s8 *dest, ks8 *src);
s8 *kstrdup(ks8 *s);
u32 kstrlen(ks8 *s);
s32 kstrncmp(ks8 *s1, ks8 *s2, u32 n);
s8 *kstrncpy(s8 *dest, ks8 *src, u32 n);
s8 *kstrstr(ks8 *haystack, ks8 *needle);
u32 kstrtoul(ks8 *nptr, s8 **endptr, s32 base);

#endif

